﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Demo.Mmose.Net
{
    public class DisconnectAtClientEventArgs : EventArgs
    {
        // Methods
        public DisconnectAtClientEventArgs( ConnectHandle connectHandle, ConnectHandlerManager connectHandlerManager ) { }

        // Properties
        public ConnectHandle DisconnectHandle { get { return null; } }
        public ConnectHandlerManager DisconnectHandlerManager { get { return null; } }
    }

    public class ProcessDataAtClientEventArgs : EventArgs
    {
        // Methods
        public ProcessDataAtClientEventArgs( MessageBlock messageBlock, ConnectHandle connectHandle, ConnectHandlerManager connectHandlerManager ) { }

        // Properties
        public ConnectHandlerManager DisconnectHandlerManager { get { return null; } }
        public MessageBlock ProcessData { get { return null; } }
        public ConnectHandle ProcessHandle { get { return null; } }
    }

    public class SocketClient : IDisposable
    {
        // Events
        public event EventHandler<DisconnectAtClientEventArgs> EventDisconnect;
        public event EventHandler<ProcessDataAtClientEventArgs> EventProcessData;

        // Methods
        public SocketClient() { }
        public void Dispose() { }
        public void SendBuffer( MessageBlock sendMessageBlock ) { }
        public bool StartConnectServer( string strHostNamePort ) { return false; }
        public void StopConnect() { }

        // Properties
        public string ConnectAddress { get { return string.Empty; } }
        public ConnectHandlerManager ConnectHandlerManager { get { return null; } }
        public bool IsConnected { get { return false; } }
    }
}
